package com.example.analysis.mapper;

import com.example.analysis.entity.EvaluateSupervision;
import com.example.analysis.entity.EvaluateSupervisionExample;
import com.example.analysis.entity.EvaluateSupervisionKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EvaluateSupervisionDao {
    long countByExample(EvaluateSupervisionExample example);

    int deleteByExample(EvaluateSupervisionExample example);

    int deleteByPrimaryKey(EvaluateSupervisionKey key);

    int insert(EvaluateSupervision record);

    int insertSelective(EvaluateSupervision record);

    List<EvaluateSupervision> selectByExample(EvaluateSupervisionExample example);

    EvaluateSupervision selectByPrimaryKey(EvaluateSupervisionKey key);

    int updateByExampleSelective(@Param("record") EvaluateSupervision record, @Param("example") EvaluateSupervisionExample example);

    int updateByExample(@Param("record") EvaluateSupervision record, @Param("example") EvaluateSupervisionExample example);

    int updateByPrimaryKeySelective(EvaluateSupervision record);

    int updateByPrimaryKey(EvaluateSupervision record);

    List<Double> selectScoreByQuestId(String questId);
}